package com.mav.service;

import com.mav.pojo.Dept;
import com.mav.service.iml.DeleteException;

import java.util.List;

public interface DeptService {
    public List<Dept> findAll();

    void deleteById(Integer id) throws DeleteException;

    void add(Dept dept);

    Dept getInfo(Integer id);

    void update(Dept dept);
}
